projects
/
gtk+3.0.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
32ae97f
)
wayland: Reset server decoration interface on window mapping
author
David Edmundson
<kde@davidedmundson.co.uk>
Thu, 28 Jun 2018 10:12:59 +0000
(11:12 +0100)
committer
David Edmundson
<kde@davidedmundson.co.uk>
Thu, 28 Jun 2018 17:50:50 +0000
(18:50 +0100)
The wl_surface is destroyed and recreated when the window is
mapped/unmapped. As we have a new wl_surface we need to create a new
server_decoration object for that surface.
gdk/wayland/gdkwindow-wayland.c
patch
|
blob
|
history
diff --git
a/gdk/wayland/gdkwindow-wayland.c
b/gdk/wayland/gdkwindow-wayland.c
index d6513732671932f28bdfd9bcdb79347cc1bcb703..eba0f37f972d3aadb59c6f737c13d32b99885b57 100644
(file)
--- a/
gdk/wayland/gdkwindow-wayland.c
+++ b/
gdk/wayland/gdkwindow-wayland.c
@@
-2938,11
+2938,13
@@
gdk_wayland_window_map (GdkWindow *window)
else
{
gdk_wayland_window_create_xdg_toplevel (window);
+ gdk_wayland_window_announce_decoration_mode (window);
}
}
else
{
gdk_wayland_window_create_xdg_toplevel (window);
+ gdk_wayland_window_announce_decoration_mode (window);
}
impl->mapped = TRUE;